@import "reset.css";
@import "../font/iconfont.css";
@import "../font_2/iconfont.css";
.clearfix::after{
    content: "";
    display: block;
    clear: both;
}
html,body{
    width: 7.5rem;
    margin: 0 auto;
}
body{
    background: #f2f2f2;
}
/*顶部*/
#top1{
    width: 7.5rem;
    height: 1rem;
    background: #ff6043;
    display: flex;
    color: #ffdfd8;
    align-items: center;
    padding: 0.22rem 0.12rem 0 0.3rem;
    box-sizing: border-box;
    &>span{
        font-size: 0.44rem;
    }
    h2{
        margin: 0 0.6rem 0 1.3rem;
        font-size: 0.32rem;
    }
    p{
        display: flex;
        width: 1.76rem;
        height: 0.62rem;
        border: 1px solid #ff8a6f;
        border-radius: 0.3rem;
        margin-right: 0.11rem;
        align-items: center;
        justify-content: space-between;
        padding: 0 0.25rem;
        box-sizing: border-box;
        position: relative;
        span{
            width: 1px;
            height: 0.38rem;
            background: #ff896e;
            position: absolute;
            top: 0.1rem;
            left: 0.88rem;
        }
    }
}

/*页面头部*/
#top_box{
    width: 7.5rem;
    height: 0.8rem;
    background: linear-gradient(#ff6043,#ff8a80);
    position: relative;
    padding-left: 0.68rem;
    box-sizing: border-box;
    p{
        font-size: 0.26rem;
        color: #fff3f2;
        float: left;
        margin-right: 1rem;
        height: 0.8rem;
        line-height: 0.8rem;
        &.cur{
            font-size: 0.3rem;
            font-weight: bold;
        }
    }
    span{
        width: 0.41rem;
        height: 0.04rem;
        background: #ffffff;
        position: absolute;
        bottom: 0;
        left: 0.78rem;
        border-radius: 0.05rem;
    }
}

/*详情头部*/
#header{
    img{
        height: 7.5rem;
    }
    .title{
        padding-left: 0.2rem;
        background: #ffffff;
        padding-top: 0.1rem;
        height: 2.9rem;
        .p1{
            font-size: 0.46rem;
            color: #ff7770;
            font-weight: bold;
            float: left;
            width: 6rem;
            span{
                font-size: 0.2rem;
            }
            del{
                font-size: 0.2rem;
                color: #b0b0b0;
                font-weight: bold;
            }
        }
        .p2{
            float: right;
            width: 0.5rem;
            text-align: center;
            color: #ff6447;
            margin-top: 0.08rem;
            margin-right: 0.15rem;
            span{
                float: left;
                width: 0.5rem;
                font-size: 0.12rem;
                transform: scale(1.2);
            }
            i{
                float: left;
                font-size: 0.18rem;
                
            }
        }
        .p3{
            float: left;
            font-size: 0.28rem;
            color: #363636;
            font-weight: bold;
        }
        .p4{
            float: left;
            font-size: 0.26rem;
            color: #999999;
        }
        .p5{
            float: left;
            font-size: 0.18rem;
            color: #ffffff;
            width: 2.1rem;
            height: 0.4rem;
            line-height: 0.4rem;
            background: #ff8066;
            text-align: center;
            margin-top: 0.24rem;
            margin-bottom: 0.2rem;
        }
        .p6{
            float: left;
            width: 7.1rem;
            height: 0.5rem;
            line-height: 0.5rem;
            background: #f2f2f2;
            font-size: 0.18rem;
            text-align: center;
            color: #999999;
            em{
                font-size: 0.18rem;
                color: #fe694d;
                font-weight: bold;
                margin-left: 0.3rem;
            }
        }
    }
    
}

/*领券&分期*/
#lingquan{
    height: 1.5rem;
    background: #fff;
    margin-top: 0.2rem;
    margin-bottom: 0.98rem;
    padding: 0.3rem 0 0 0.2rem;
    p{
        float: left;
    }
    .p1{
        font-size: 0.24rem;
        color: #363636;
        font-weight: bold;
        margin-right: 0.3rem;
    }
    .p3{
        margin-right: 4.55rem;
        color: #666666;
        font-size: 0.22rem;
    }
    .p2{
        width: 6.42rem;
        border-bottom: 2px solid #e6e6e6;
        margin-bottom: 0.3rem;
        padding-bottom: 0.16rem;
        span{
            background: #ffcc66;
            font-size: 0.16rem;
            color: #6c3a17;
            font-weight: bold;
            position: relative;
            margin-right: 0.1rem;
            .yuan1{
                display: inline-block;
                width: 0.14rem;
                height: 0.14rem;
                background: #fff;
                border-radius: 50%;
                position: absolute;
                right: -0.08rem;
                top: 0.09rem;
            }
            .yuan2{
                display: inline-block;
                width: 0.14rem;
                height: 0.14rem;
                background: #fff;
                border-radius: 50%;
                position: absolute;
                right: -0.08rem;
                top: 0.09rem;
            }
            .yuan3{
                display: inline-block;
                width: 0.14rem;
                height: 0.14rem;
                background: #fff;
                border-radius: 50%;
                position: absolute;
                right: -0.08rem;
                top: 0.09rem;
            }
        }
        & span:nth-child(1){
            display: inline-block;
            width: 0.86rem;
            height: 0.32rem;
            line-height: 0.32rem;
            border-radius: 0.03rem;
            padding-left: 0.04rem;
            padding-top: 0.01rem;
            box-sizing: border-box;
            position: relative;
            i{
                display: inline-block;
                border-right: 1px dashed #b37e40;
                height: 0.24rem;
                position: absolute;
                bottom: 0.04rem;
                right: 0.12rem;
            }
        }
        & span:nth-child(2){
            display: inline-block;
            width: 0.76rem;
            height: 0.32rem;
            line-height: 0.32rem;
            border-radius: 0.03rem;
            padding-left: 0.04rem;
            padding-top: 0.01rem;
            box-sizing: border-box;
            position: relative;
            i{
                display: inline-block;
                border-right: 1px dashed #b37e40;
                height: 0.24rem;
                position: absolute;
                bottom: 0.04rem;
                right: 0.12rem;
            }
        }
        & span:nth-child(3){
            display: inline-block;
            width: 0.76rem;
            height: 0.32rem;
            line-height: 0.32rem;
            border-radius: 0.03rem;
            padding-left: 0.04rem;
            padding-top: 0.01rem;
            box-sizing: border-box;
            position: relative;
            i{
                display: inline-block;
                border-right: 1px dashed #b37e40;
                height: 0.24rem;
                position: absolute;
                bottom: 0.04rem;
                right: 0.12rem;
            }
        }
        
    }
}

/*底部*/
#footer_box{
    width: 7.5rem;
    height: 0.98rem;border-top: 1px solid #cdcdcd;
    position: fixed;
    bottom: 0;
    background: #ffffff;
    padding-left: 0.1rem;
    p{
        float: left;
        height: 0.98rem;
    }
    & p:nth-child(4){
        width: 2.2rem;
        background: #ffcc66;
        font-size: 0.3rem;
        color: #663213;
        font-weight: bold;
        text-align: center;
        line-height: 0.98rem;
    }
    & p:nth-child(5){
        width: 2.2rem;
        background: #ff6043;
        font-size: 0.3rem;
        color: #fff;
        font-weight: bold;
        text-align: center;
        line-height: 0.98rem;
    }
    .p1{
        width: 1rem;
        display: flex;
        flex-direction: column;
        text-align: center;
        em{
            font-size: 0.4rem;
            margin-top: 0.1rem;
            margin-bottom: 0.05rem;
        }
    }
}
